#pragma once
#include "afxwin.h"


// CruncompressorDlg dialog

class RunCompressorDlg :  public CDialog
{

public:
	RunCompressorDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~RunCompressorDlg();

// Dialog Data
	enum { IDD = IDD_RUNCOMPRESSOR_DIALOG};

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()
public:
	int				RunCompressor(CString commandline);
	afx_msg void	OnBnClickedEe();
	afx_msg void	OnBnClickedCompress();
	afx_msg void	OnBnClickedBrowseinput();
	afx_msg void	OnBnClickedOutputfile();
	afx_msg void	OnBnClickedBrowseoutput();
	afx_msg void	OnBnClickedCheckhtotal();
	afx_msg void	OnBnClickedLoadreqcheck();
	afx_msg void	OnBnClickedFinerescheck();
	afx_msg void	OnBnClickedResetsubcheck();
	afx_msg void	OnBnClickedCheckvtotal();
	afx_msg void	OnBnClickedAddtexttotail();
	afx_msg void	OnCbnSelchangeCompressorstep();
	CButton			ifoutputcheck;
	CEdit			output_linectrl;
	CButton			iftexttotailchecked;
	CEdit			texttotail;
	CButton			browseoutputctr;
	CButton			htotalctrl;
	CEdit			htotalnumberctrl;
	CButton			vtotalctrl;
	CEdit			vtotalnumberctrl;
	int				htotalnumber;
	int				vtotalnumber;
	CButton			eechecked;
	CComboBox		eectrl;
	CEdit			inputfilesctrl;
	CButton			waveeditorcheck;
	CButton			statctrl;
	CString			rootdirectory;
	CComboBox		compressorstepctrl;
	CButton			twopassctrl;
	CButton			loadreccheck;
	int				loadrec;
	CEdit			loadrecctrl;
	CButton			finerescheck;
	CEdit			fineresctrl;
	int				fineres;
	CButton			resetsubcheck;
	CEdit			resetsubctrl;
	int				resetsub;
	afx_msg void OnBnClickedBuildshowcommandline();
	afx_msg void OnBnClickedShowlogaftercompress();
};
